<me:SDBASE x:Class="WPFExcelReport.KDG0267"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                     xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:me="clr-namespace:WPFExcelReport" 
                     xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"   
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:SDBASE.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:SDBASE.Resources>
    <WrapPanel>
        <WF:TBTNEXE IsManage="{Binding IsManage,ElementName=TV}" DLL="TSDDAT" CMD="ERK" STWNW="MainWindow" KRS="{Binding SDSA,ElementName=TV}"/>
        <ComboBox   DropDownOpened="ComboBox_DropDownOpened" 
                    IsEditable="True" 
                   Visibility="{Binding IsCombo,ElementName=TV,Converter={StaticResource bv}}"
                   MinWidth="40"
                   FontSize="32"
                   SelectedValuePath="KEY"
                   DisplayMemberPath="KEY"
                  ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}"  
                  IsSynchronizedWithCurrentItem="True" 
                  ScrollViewer.HorizontalScrollBarVisibility="Visible">
        </ComboBox> 
    </WrapPanel>
</me:SDBASE>
